using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using The_Trench;
using Xfinity;

namespace TheTrench
{
    public partial class SettingsPage : Form
    {
        public SettingsPage()
        {
            InitializeComponent();
        }

        private void SettingsPage_Load(object sender, EventArgs e)
        {
            propertyGrid.SelectedObject = Xfinity.Properties.Settings.Default;
        }

        private void SettingsPage_FormClosing(object sender, FormClosingEventArgs e)
        {
            Xfinity.Properties.Settings.Default.Save();
            GameManager.Paused = false;
        }
    }
}